|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectraar.image.vector.RAGVectorObject
raar.image.vector.RAGAgentTrace
A vector image representation of an agent trace.
| Constructor Summary | |
RAGAgentTrace(RAAgent src)
Construct this object. |
|
| Method Summary | |
void |
addTrace(java.awt.geom.Point2D.Double trace)
Add a trace. |
java.awt.Color |
getColor()
Return the trace colour. |
java.awt.Shape |
getShape()
Return the shape. |
java.util.Vector |
getTraces()
Return the traces. |
boolean |
isFilled()
This is a path; draw only the path and not the filling area. |
boolean |
isPerceivable()
We cannot see traces with the agent's sensors. |
static void |
setMaximumTraceLength(long l)
Set the maximum trace length. |
void |
untrace()
Delete all traces. |
| Methods inherited from class raar.image.vector.RAGVectorObject |
createGVectorObject, getObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RAGAgentTrace(RAAgent src)
| Method Detail |
public java.awt.Color getColor()
getColor in class RAGVectorObjectpublic void addTrace(java.awt.geom.Point2D.Double trace)
public java.util.Vector getTraces()
public void untrace()
public static void setMaximumTraceLength(long l)
public java.awt.Shape getShape()
getShape in class RAGVectorObjectpublic boolean isFilled()
isFilled in class RAGVectorObjectpublic boolean isPerceivable()
isPerceivable in class RAGVectorObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||